package cn.com.allunion.sms.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SmstimerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SmstimerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSmsTimerIDIsNull() {
            addCriterion("smsTimerID is null");
            return (Criteria) this;
        }

        public Criteria andSmsTimerIDIsNotNull() {
            addCriterion("smsTimerID is not null");
            return (Criteria) this;
        }

        public Criteria andSmsTimerIDEqualTo(String value) {
            addCriterion("smsTimerID =", value, "smsTimerID");
            return (Criteria) this;
        }

        public Criteria andSmsTimerIDNotEqualTo(String value) {
            addCriterion("smsTimerID <>", value, "smsTimerID");
            return (Criteria) this;
        }

        public Criteria andSmsTimerIDGreaterThan(String value) {
            addCriterion("smsTimerID >", value, "smsTimerID");
            return (Criteria) this;
        }

        public Criteria andSmsTimerIDGreaterThanOrEqualTo(String value) {
            addCriterion("smsTimerID >=", value, "smsTimerID");
            return (Criteria) this;
        }

        public Criteria andSmsTimerIDLessThan(String value) {
            addCriterion("smsTimerID <", value, "smsTimerID");
            return (Criteria) this;
        }

        public Criteria andSmsTimerIDLessThanOrEqualTo(String value) {
            addCriterion("smsTimerID <=", value, "smsTimerID");
            return (Criteria) this;
        }

        public Criteria andSmsTimerIDLike(String value) {
            addCriterion("smsTimerID like", value, "smsTimerID");
            return (Criteria) this;
        }

        public Criteria andSmsTimerIDNotLike(String value) {
            addCriterion("smsTimerID not like", value, "smsTimerID");
            return (Criteria) this;
        }

        public Criteria andSmsTimerIDIn(List<String> values) {
            addCriterion("smsTimerID in", values, "smsTimerID");
            return (Criteria) this;
        }

        public Criteria andSmsTimerIDNotIn(List<String> values) {
            addCriterion("smsTimerID not in", values, "smsTimerID");
            return (Criteria) this;
        }

        public Criteria andSmsTimerIDBetween(String value1, String value2) {
            addCriterion("smsTimerID between", value1, value2, "smsTimerID");
            return (Criteria) this;
        }

        public Criteria andSmsTimerIDNotBetween(String value1, String value2) {
            addCriterion("smsTimerID not between", value1, value2, "smsTimerID");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("createDate is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("createDate is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("createDate =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("createDate <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("createDate >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("createDate >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("createDate <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("createDate <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("createDate in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("createDate not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("createDate between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("createDate not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andReceiveNumIsNull() {
            addCriterion("receiveNum is null");
            return (Criteria) this;
        }

        public Criteria andReceiveNumIsNotNull() {
            addCriterion("receiveNum is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveNumEqualTo(String value) {
            addCriterion("receiveNum =", value, "receiveNum");
            return (Criteria) this;
        }

        public Criteria andReceiveNumNotEqualTo(String value) {
            addCriterion("receiveNum <>", value, "receiveNum");
            return (Criteria) this;
        }

        public Criteria andReceiveNumGreaterThan(String value) {
            addCriterion("receiveNum >", value, "receiveNum");
            return (Criteria) this;
        }

        public Criteria andReceiveNumGreaterThanOrEqualTo(String value) {
            addCriterion("receiveNum >=", value, "receiveNum");
            return (Criteria) this;
        }

        public Criteria andReceiveNumLessThan(String value) {
            addCriterion("receiveNum <", value, "receiveNum");
            return (Criteria) this;
        }

        public Criteria andReceiveNumLessThanOrEqualTo(String value) {
            addCriterion("receiveNum <=", value, "receiveNum");
            return (Criteria) this;
        }

        public Criteria andReceiveNumLike(String value) {
            addCriterion("receiveNum like", value, "receiveNum");
            return (Criteria) this;
        }

        public Criteria andReceiveNumNotLike(String value) {
            addCriterion("receiveNum not like", value, "receiveNum");
            return (Criteria) this;
        }

        public Criteria andReceiveNumIn(List<String> values) {
            addCriterion("receiveNum in", values, "receiveNum");
            return (Criteria) this;
        }

        public Criteria andReceiveNumNotIn(List<String> values) {
            addCriterion("receiveNum not in", values, "receiveNum");
            return (Criteria) this;
        }

        public Criteria andReceiveNumBetween(String value1, String value2) {
            addCriterion("receiveNum between", value1, value2, "receiveNum");
            return (Criteria) this;
        }

        public Criteria andReceiveNumNotBetween(String value1, String value2) {
            addCriterion("receiveNum not between", value1, value2, "receiveNum");
            return (Criteria) this;
        }

        public Criteria andSmsContextIsNull() {
            addCriterion("smsContext is null");
            return (Criteria) this;
        }

        public Criteria andSmsContextIsNotNull() {
            addCriterion("smsContext is not null");
            return (Criteria) this;
        }

        public Criteria andSmsContextEqualTo(String value) {
            addCriterion("smsContext =", value, "smsContext");
            return (Criteria) this;
        }

        public Criteria andSmsContextNotEqualTo(String value) {
            addCriterion("smsContext <>", value, "smsContext");
            return (Criteria) this;
        }

        public Criteria andSmsContextGreaterThan(String value) {
            addCriterion("smsContext >", value, "smsContext");
            return (Criteria) this;
        }

        public Criteria andSmsContextGreaterThanOrEqualTo(String value) {
            addCriterion("smsContext >=", value, "smsContext");
            return (Criteria) this;
        }

        public Criteria andSmsContextLessThan(String value) {
            addCriterion("smsContext <", value, "smsContext");
            return (Criteria) this;
        }

        public Criteria andSmsContextLessThanOrEqualTo(String value) {
            addCriterion("smsContext <=", value, "smsContext");
            return (Criteria) this;
        }

        public Criteria andSmsContextLike(String value) {
            addCriterion("smsContext like", value, "smsContext");
            return (Criteria) this;
        }

        public Criteria andSmsContextNotLike(String value) {
            addCriterion("smsContext not like", value, "smsContext");
            return (Criteria) this;
        }

        public Criteria andSmsContextIn(List<String> values) {
            addCriterion("smsContext in", values, "smsContext");
            return (Criteria) this;
        }

        public Criteria andSmsContextNotIn(List<String> values) {
            addCriterion("smsContext not in", values, "smsContext");
            return (Criteria) this;
        }

        public Criteria andSmsContextBetween(String value1, String value2) {
            addCriterion("smsContext between", value1, value2, "smsContext");
            return (Criteria) this;
        }

        public Criteria andSmsContextNotBetween(String value1, String value2) {
            addCriterion("smsContext not between", value1, value2, "smsContext");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(String value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(String value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(String value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(String value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(String value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLike(String value) {
            addCriterion("state like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotLike(String value) {
            addCriterion("state not like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<String> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<String> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(String value1, String value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(String value1, String value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andTimingDateIsNull() {
            addCriterion("timingDate is null");
            return (Criteria) this;
        }

        public Criteria andTimingDateIsNotNull() {
            addCriterion("timingDate is not null");
            return (Criteria) this;
        }

        public Criteria andTimingDateEqualTo(Date value) {
            addCriterion("timingDate =", value, "timingDate");
            return (Criteria) this;
        }

        public Criteria andTimingDateNotEqualTo(Date value) {
            addCriterion("timingDate <>", value, "timingDate");
            return (Criteria) this;
        }

        public Criteria andTimingDateGreaterThan(Date value) {
            addCriterion("timingDate >", value, "timingDate");
            return (Criteria) this;
        }

        public Criteria andTimingDateGreaterThanOrEqualTo(Date value) {
            addCriterion("timingDate >=", value, "timingDate");
            return (Criteria) this;
        }

        public Criteria andTimingDateLessThan(Date value) {
            addCriterion("timingDate <", value, "timingDate");
            return (Criteria) this;
        }

        public Criteria andTimingDateLessThanOrEqualTo(Date value) {
            addCriterion("timingDate <=", value, "timingDate");
            return (Criteria) this;
        }

        public Criteria andTimingDateIn(List<Date> values) {
            addCriterion("timingDate in", values, "timingDate");
            return (Criteria) this;
        }

        public Criteria andTimingDateNotIn(List<Date> values) {
            addCriterion("timingDate not in", values, "timingDate");
            return (Criteria) this;
        }

        public Criteria andTimingDateBetween(Date value1, Date value2) {
            addCriterion("timingDate between", value1, value2, "timingDate");
            return (Criteria) this;
        }

        public Criteria andTimingDateNotBetween(Date value1, Date value2) {
            addCriterion("timingDate not between", value1, value2, "timingDate");
            return (Criteria) this;
        }

        public Criteria andSmsBusinessIsNull() {
            addCriterion("smsBusiness is null");
            return (Criteria) this;
        }

        public Criteria andSmsBusinessIsNotNull() {
            addCriterion("smsBusiness is not null");
            return (Criteria) this;
        }

        public Criteria andSmsBusinessEqualTo(String value) {
            addCriterion("smsBusiness =", value, "smsBusiness");
            return (Criteria) this;
        }

        public Criteria andSmsBusinessNotEqualTo(String value) {
            addCriterion("smsBusiness <>", value, "smsBusiness");
            return (Criteria) this;
        }

        public Criteria andSmsBusinessGreaterThan(String value) {
            addCriterion("smsBusiness >", value, "smsBusiness");
            return (Criteria) this;
        }

        public Criteria andSmsBusinessGreaterThanOrEqualTo(String value) {
            addCriterion("smsBusiness >=", value, "smsBusiness");
            return (Criteria) this;
        }

        public Criteria andSmsBusinessLessThan(String value) {
            addCriterion("smsBusiness <", value, "smsBusiness");
            return (Criteria) this;
        }

        public Criteria andSmsBusinessLessThanOrEqualTo(String value) {
            addCriterion("smsBusiness <=", value, "smsBusiness");
            return (Criteria) this;
        }

        public Criteria andSmsBusinessLike(String value) {
            addCriterion("smsBusiness like", value, "smsBusiness");
            return (Criteria) this;
        }

        public Criteria andSmsBusinessNotLike(String value) {
            addCriterion("smsBusiness not like", value, "smsBusiness");
            return (Criteria) this;
        }

        public Criteria andSmsBusinessIn(List<String> values) {
            addCriterion("smsBusiness in", values, "smsBusiness");
            return (Criteria) this;
        }

        public Criteria andSmsBusinessNotIn(List<String> values) {
            addCriterion("smsBusiness not in", values, "smsBusiness");
            return (Criteria) this;
        }

        public Criteria andSmsBusinessBetween(String value1, String value2) {
            addCriterion("smsBusiness between", value1, value2, "smsBusiness");
            return (Criteria) this;
        }

        public Criteria andSmsBusinessNotBetween(String value1, String value2) {
            addCriterion("smsBusiness not between", value1, value2, "smsBusiness");
            return (Criteria) this;
        }

        public Criteria andSmsOperatorIsNull() {
            addCriterion("smsOperator is null");
            return (Criteria) this;
        }

        public Criteria andSmsOperatorIsNotNull() {
            addCriterion("smsOperator is not null");
            return (Criteria) this;
        }

        public Criteria andSmsOperatorEqualTo(String value) {
            addCriterion("smsOperator =", value, "smsOperator");
            return (Criteria) this;
        }

        public Criteria andSmsOperatorNotEqualTo(String value) {
            addCriterion("smsOperator <>", value, "smsOperator");
            return (Criteria) this;
        }

        public Criteria andSmsOperatorGreaterThan(String value) {
            addCriterion("smsOperator >", value, "smsOperator");
            return (Criteria) this;
        }

        public Criteria andSmsOperatorGreaterThanOrEqualTo(String value) {
            addCriterion("smsOperator >=", value, "smsOperator");
            return (Criteria) this;
        }

        public Criteria andSmsOperatorLessThan(String value) {
            addCriterion("smsOperator <", value, "smsOperator");
            return (Criteria) this;
        }

        public Criteria andSmsOperatorLessThanOrEqualTo(String value) {
            addCriterion("smsOperator <=", value, "smsOperator");
            return (Criteria) this;
        }

        public Criteria andSmsOperatorLike(String value) {
            addCriterion("smsOperator like", value, "smsOperator");
            return (Criteria) this;
        }

        public Criteria andSmsOperatorNotLike(String value) {
            addCriterion("smsOperator not like", value, "smsOperator");
            return (Criteria) this;
        }

        public Criteria andSmsOperatorIn(List<String> values) {
            addCriterion("smsOperator in", values, "smsOperator");
            return (Criteria) this;
        }

        public Criteria andSmsOperatorNotIn(List<String> values) {
            addCriterion("smsOperator not in", values, "smsOperator");
            return (Criteria) this;
        }

        public Criteria andSmsOperatorBetween(String value1, String value2) {
            addCriterion("smsOperator between", value1, value2, "smsOperator");
            return (Criteria) this;
        }

        public Criteria andSmsOperatorNotBetween(String value1, String value2) {
            addCriterion("smsOperator not between", value1, value2, "smsOperator");
            return (Criteria) this;
        }

        public Criteria andJobNameIsNull() {
            addCriterion("jobName is null");
            return (Criteria) this;
        }

        public Criteria andJobNameIsNotNull() {
            addCriterion("jobName is not null");
            return (Criteria) this;
        }

        public Criteria andJobNameEqualTo(String value) {
            addCriterion("jobName =", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameNotEqualTo(String value) {
            addCriterion("jobName <>", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameGreaterThan(String value) {
            addCriterion("jobName >", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameGreaterThanOrEqualTo(String value) {
            addCriterion("jobName >=", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameLessThan(String value) {
            addCriterion("jobName <", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameLessThanOrEqualTo(String value) {
            addCriterion("jobName <=", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameLike(String value) {
            addCriterion("jobName like", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameNotLike(String value) {
            addCriterion("jobName not like", value, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameIn(List<String> values) {
            addCriterion("jobName in", values, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameNotIn(List<String> values) {
            addCriterion("jobName not in", values, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameBetween(String value1, String value2) {
            addCriterion("jobName between", value1, value2, "jobName");
            return (Criteria) this;
        }

        public Criteria andJobNameNotBetween(String value1, String value2) {
            addCriterion("jobName not between", value1, value2, "jobName");
            return (Criteria) this;
        }

        public Criteria andUserBaseIsNull() {
            addCriterion("userBase is null");
            return (Criteria) this;
        }

        public Criteria andUserBaseIsNotNull() {
            addCriterion("userBase is not null");
            return (Criteria) this;
        }

        public Criteria andUserBaseEqualTo(String value) {
            addCriterion("userBase =", value, "userBase");
            return (Criteria) this;
        }

        public Criteria andUserBaseNotEqualTo(String value) {
            addCriterion("userBase <>", value, "userBase");
            return (Criteria) this;
        }

        public Criteria andUserBaseGreaterThan(String value) {
            addCriterion("userBase >", value, "userBase");
            return (Criteria) this;
        }

        public Criteria andUserBaseGreaterThanOrEqualTo(String value) {
            addCriterion("userBase >=", value, "userBase");
            return (Criteria) this;
        }

        public Criteria andUserBaseLessThan(String value) {
            addCriterion("userBase <", value, "userBase");
            return (Criteria) this;
        }

        public Criteria andUserBaseLessThanOrEqualTo(String value) {
            addCriterion("userBase <=", value, "userBase");
            return (Criteria) this;
        }

        public Criteria andUserBaseLike(String value) {
            addCriterion("userBase like", value, "userBase");
            return (Criteria) this;
        }

        public Criteria andUserBaseNotLike(String value) {
            addCriterion("userBase not like", value, "userBase");
            return (Criteria) this;
        }

        public Criteria andUserBaseIn(List<String> values) {
            addCriterion("userBase in", values, "userBase");
            return (Criteria) this;
        }

        public Criteria andUserBaseNotIn(List<String> values) {
            addCriterion("userBase not in", values, "userBase");
            return (Criteria) this;
        }

        public Criteria andUserBaseBetween(String value1, String value2) {
            addCriterion("userBase between", value1, value2, "userBase");
            return (Criteria) this;
        }

        public Criteria andUserBaseNotBetween(String value1, String value2) {
            addCriterion("userBase not between", value1, value2, "userBase");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}